
package common;

/**
 * 假設這裏的邏輯只有印出 say hello:name
 * 
 * @author Eric.Kao(gau168.gau@msa.hinet.net)
 * @version 1.0
 * @company E885 Group
 * @copyright Copyright (c) 2001-2008
 */

public class HelloSpeaker implements HelloInterface
{

	/*
	 * (non-Javadoc)
	 * 
	 * @see HelloInterface#sayHello(java.lang.String)
	 */
	public void sayHello( String name ) throws HelloException
	{
		System.out.println( "執行邏輯, 印出 say hello:" + name );
	}

	public void sayHi( String name ) throws HelloException
	{
		System.out.println( "執行邏輯, 印出 say hi:" + name );
	}

}
